Tag Link | [PDF_Doc->Add] | Category | |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 7.0 |
Change | Updated | Data Source | Any |
Output Type | None | Security | None |
Implementation | LJAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0 |
Adds a PDF content object to a document. This can be used to add [PDF_Text], [PDF_List], [PDF_Image], [PDF_Table], [PDF_List], or [PDF_BarCode] objects.
The object is added to the flow of the page by default. Positioning information may be supplied via
[PDF_Doc->DrawText] may also be used for positioning text on a page.
[$PDF_Doc->(Add: PDF_Text Variable)]
[$PDF_Doc->(Add: PDF_Table Variable)]
[$PDF_Doc->(Add: PDF_List Variable)]
[$PDF_Doc->(Add: PDF_Image Variable,
[$PDF_Doc->(Add: PDF_Barcode Variable,
Required Parameters | |
---|---|
[PDF_...] Variable | The [PDF_Text], [PDF_List], [PDF_Image], [PDF_Table], or [PDF_BarCode] object to be added to the PDF file. |
Optional Parameters | |
-Align | Sets the alignment of the object in the page ('Left', 'Center', or 'Right'). Defaults to 'Left'. Works only for [PDF_Image] and [PDF_BarCode] objects (text alignment is achieved via [PDF_Text] object parameters). |
-Wrap | Keyword parameter specifies that text should flow around the embedded object. Relevant for image, table, and barcode objects. Optional. |
-Left | Specifies the placement of a [PDF_Image] or [PDF_Barcode] object relative to the left side of the document. Requires a decimal value, which is the placement offset in points. Optional. |
-Top | Specifies the placement of a [PDF_Image] or [PDF_Barcode] object relative to the top of the document. Requires a decimal value, which is the placement offset in points. Optional. |
-Height | Scales the object to the specified height. Requires a decimal value which is the desired object height in points. Works only for [PDF_Image] and [PDF_BarCode] objects. |
-Width | Scales the object to the specified width. Requires a decimal value which is the desired object width in points. Works only for [PDF_Image] and [PDF _BarCode] objects. |
-Rotate | Inserted text can be rotated using this parameter. Degrees are measured counter |
The
See the Lasso 8 Language Guide for examples of how to use this tag.